package hibernate2;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "scorelist")
@Entity
public class ScoreList {
	@Override
	public String toString() {
		return "ScoreList [id=" + id + ", score=" + score + ", description=" + description + "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Id
	@Column(name = "id")
	private int id;
	@Column(name = "score")
	private String score;
	@Column(name = "description")
	private String description;
}
